<?php
class F_Enquire extends Apps_Form {
    public function init() {
        $fullName = new Zend_Form_Element_Text(
                'full_name',
                array('required' => true,
                      'class'    => 'input-required'));

        $email = new Zend_Form_Element_Text(
                'email',
                array('required' => true,
                      'validators' => array('emailAddress')));

        $reconfirmEmail = new Zend_Form_Element_Text(
                'reconfirm_email',
                array('required' => true,
                      'validators' => array('emailAddress')));

        $phone = new Zend_Form_Element_Text('phone');

        $countryResidence = new Zend_Form_Element_Text(
                'country_residence',
                array('required' => true));

        $subject = new Zend_Form_Element_Text(
                'subject',
                array('required' => true));

        $inquyry = new Zend_Form_Element_Textarea(
                'inquyry',
                array('required' => true,
                      'attribs'  => array('style' => 'height:175px;width:490px')));

        $captcha = new Zend_Form_Element_Text(
                'captcha',
                array('required' => true,
                      'attribs'  => array('style' => 'width:80px')));

        $this->addElements(array($fullName, $email, $reconfirmEmail, $phone, $countryResidence, $subject, $inquyry, $captcha));
        $this->makeup();
    }
}